#pragma once

#include "global.h"

class StopWatch {
public:
    StopWatch();
    virtual ~StopWatch();
    void Reset();
    double Elapsed() const;
    int64_t ElapsedSecond() const;
    int64_t ElapsedMilli() const;

protected:
    std::chrono::time_point<std::chrono::high_resolution_clock> mBegin;
};
